package com.itheima.domain;


import java.util.List;

public class Module {
    private String moduleId;
    private String parentId;
    private String parentName;
    private String name;
    private String isLeaf;
    private String ico;
    private String cpermission;
    private String curl;
    private String ctype;
    private String state;
    private String belong;
    private String remark;
    private String orderNo;
    private List<Module> children;

    @Override
    public String toString() {
        return "Module{" +
                "moduleId='" + moduleId + '\'' +
                ", parentId='" + parentId + '\'' +
                ", parentName='" + parentName + '\'' +
                ", name='" + name + '\'' +
                ", isLeaf='" + isLeaf + '\'' +
                ", ico='" + ico + '\'' +
                ", cpermission='" + cpermission + '\'' +
                ", curl='" + curl + '\'' +
                ", ctype='" + ctype + '\'' +
                ", state='" + state + '\'' +
                ", belong='" + belong + '\'' +
                ", remark='" + remark + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", children=" + children +
                '}';
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(String isLeaf) {
        this.isLeaf = isLeaf;
    }

    public String getIco() {
        return ico;
    }

    public void setIco(String ico) {
        this.ico = ico;
    }

    public String getCpermission() {
        return cpermission;
    }

    public void setCpermission(String cpermission) {
        this.cpermission = cpermission;
    }

    public String getCurl() {
        return curl;
    }

    public void setCurl(String curl) {
        this.curl = curl;
    }

    public String getCtype() {
        return ctype;
    }

    public void setCtype(String ctype) {
        this.ctype = ctype;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getBelong() {
        return belong;
    }

    public void setBelong(String belong) {
        this.belong = belong;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public List<Module> getChildren() {
        return children;
    }

    public void setChildren(List<Module> children) {
        this.children = children;
    }

    public Module(String moduleId, String parentId, String parentName, String name, String isLeaf, String ico, String cpermission, String curl, String ctype, String state, String belong, String remark, String orderNo, List<Module> children) {
        this.moduleId = moduleId;
        this.parentId = parentId;
        this.parentName = parentName;
        this.name = name;
        this.isLeaf = isLeaf;
        this.ico = ico;
        this.cpermission = cpermission;
        this.curl = curl;
        this.ctype = ctype;
        this.state = state;
        this.belong = belong;
        this.remark = remark;
        this.orderNo = orderNo;
        this.children = children;
    }

    public Module() {
    }
}
